Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integration of the Scroll’s LogUp Lookup Protocol Into the PSE’s Halo2 Version 0.3.0 #18

Open
wants to merge 6 commits into
base: pse/0.3.0
Choose a base branch
from

Conversation

AlekseiVambol
Copy link

@AlekseiVambol AlekseiVambol commented Mar 3, 2024

The majority of the new code has been taken from the following sources:

  1. The "Multi-input mv-lookup" PR by the Scroll team (originating from the work of the Geometry Research team):
    https://github.com/scroll-tech/halo2/pull/49/files
  2. The LogUp PR by the Scroll team:
    https://github.com/scroll-tech/halo2/pull/71/files
    Since the code was integrated sequentially, the source of the code borrowed at the second stage is convenient to observe via scroll-mv-lookup...taikoxyz:halo2:scroll-logup-on-mvlookup

Also thanks to @jonathanpwang for warning about the unexpected problem described here: #16 (comment)
In order to solve it, his code was borrowed from this PR:
axiom-crypto@45e940c

The mathematical apparatus of the integrated lookup protocol can be found here:
https://www.overleaf.com/project/64f65f61d1e4e6f80b2302c6
Here is a comment for better understanding this paper:
scroll-tech#49 (comment)

PS The code for testing the prover, which uses the IPA polynomial commitment scheme, in halo2/halo2_proofs/tests/plonk_api.rs (see "fn test_plonk_api_ipa()") has been commented, because this test is not passed successfully and the Taiko's Halo2 uses the KZG commitment scheme instead of the IPA one. This problem is not specific for this PR, since the corresponding test was removed both by Axiom ( https://github.com/axiom-crypto/halo2/blob/main/halo2_proofs/tests/plonk_api.rs ) and Scroll ( https://github.com/scroll-tech/halo2/blob/develop/halo2_proofs/tests/plonk_api.rs ). The cause of this problem has not been found, since the corresponding research would be insufficiently practical in the current context.

@AlekseiVambol AlekseiVambol changed the title Integration of the Scroll’s Logup Lookup Protocol Into the PSE’s Halo2 Version 0.3.0 Integration of the Scroll’s LogUp Lookup Protocol Into the PSE’s Halo2 Version 0.3.0 Mar 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant